<div id="box">
    <h3>Danh Sách Danh Mục Đồ Lặn</h3>
       <table width="100%">
			<thead>
		<tr>
         <th width="70px"><a href="#">Mã Danh Mục<img src="<?php echo base_url();?>/asset/admin/images/icons/arrow_down_mini.gif" width="16" height="16" align="absmiddle" /></a></th>
                            	<th width="150"><a href="#">Tên Danh Mục</a></th>
                                <th width="50px"><a href="#">Hiển Thị</a></th>
                                <th width="60px"><a href="#">Tùy Chọn</a></th>
                            </tr>
						</thead>
		<tbody>
        <?php 
			foreach ($dsdm as $dm)
				echo '<tr>
                            	<td class="a-center">'.$dm->madm.'</td>
                            	<td>'.$dm->tendm.'</td>
                                <td align="center">'.$dm->hienthi.'</td>
                                <td>'.anchor('admin/sanpham/danhsach/'.$dm->madm, '<img src="'.base_url().'/asset/admin/images/icons/user.png" title="Danh sách sản phẩm" 				                                     width="16" height="16" />').'
								'.anchor('admin/templateadmin/capnhat/'.$dm->madm , '<img src="'.base_url().'/asset/admin/images/icons/user_edit.png" title="Cập nhật danh mục sản phẩm"                                     width="16" height="16" />').'
								'.anchor('admin/templateadmin/xoadanhmuc/'.$dm->madm, '<img src="'.base_url().'/asset/admin/images/icons/user_delete.png" title="Xóa danh mục sản phẩm" width="16" height="16" />', array('onclick'=>'return xacnhanxoa();')).'
								</td>
                            </tr>';
		?>
			
				
		</tbody>
					</table>
                    <div id="pager">
                    	Page <a href="#"><img src="<?php echo base_url().'asset/admin/';?>images/icons/arrow_left.gif" width="16" height="16" /></a> 
                    	<input size="1" value="1" type="text" name="page" id="page" /> 
                    	<a href="#"><img src="<?php echo base_url().'asset/admin/';?>images/icons/arrow_right.gif" width="16" height="16" /></a>of 42
                    pages | View <select name="view">
                    				<option>10</option>
                                    <option>20</option>
                                    <option>50</option>
                                    <option>100</option>
                    			</select> 
                    per page | Total <strong>420</strong> records found
                    </div>
                    
                </div>
<script language="javascript" type="text/javascript">
function xacnhanxoa()
{
	return confirm('Bạn Có Chắc Xóa Không');
}
</script>